package com.example.rule.core;

import com.example.rule.constant.RuleConstant;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.math.BigDecimal;

/**
 * @author Jason - Chusifeng
 * @version 1.0.0
 * @ClassName Fact.java
 * @PackageName com\welab\vb\payment\transaction\rule\core\Fact.java
 * @Description 抽象事实父类
 * @createTime 2022年10月10日 10:48:42
 */
@Getter
@Setter
@NoArgsConstructor
public abstract class Fact {

    public Fact(String mark) {
        this.mark = mark;
    }

    /**
     * 代表总额
     */
    protected BigDecimal total = BigDecimal.ZERO;
    protected String mark = RuleConstant.DEFAULT_STRING;

}
